; $i_bool - Value specifying whether the item must be entirely visible
; Requirement: None
; Return Value(s): Returns TRUE if successful, or FALSE otherwise
; User CallTip: _GUICtrlListViewEnsureVisible($h_listview, $i_index, $i_bool) Ensures that a list-view item is either entirely or partially visible (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): If $i_bool parameter is TRUE, no scrolling occurs if the item is at least partially visible
; $i_index - zero-based index to retrieve item check state from
; Requirement: $LVS_EX_CHECKBOXES used in extended style when creating listview
; Return Value(s): Returns 1 if checked
; Returns 0 if not checked
; If error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewGetCheckedState($h_listview, $i_index) Returns the check state for a list-view control item (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; If an error occurs, the return value is $LV_ERR.
; User CallTip: _GUICtrlListViewGetColumnOrder($h_listview) Retrieves the current left-to-right order of columns in a list-view control. (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_col - Index of the column. This parameter is ignored in list view
; Requirement: None
; Return Value(s): Returns the column width if successful, or zero otherwise
; User CallTip: _GUICtrlListViewGetColumnWidth($h_listview, $i_col) Retrieves the width of a column in report or list view (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): If this message is sent to a list-view control with the LVS_REPORT style
; and the specified column doesn't exist, the return value is undefined
; Return Value(s): Returns the number of fully visible items if successful.
; If the current view is icon or small icon view, the return value
; is the total number of items in the list-view control.
; User CallTip: _GUICtrlListViewGetCounterPage($h_listview) Calculates the number of items that can fit vertically in the visible area of a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Returns a DWORD that represents the styles currently in use for a given list-view control.
; This value can be a combination of Extended List-View Styles
; User CallTip: _GUICtrlListViewGetExtendedListViewStyle($h_listview) Retrieves the extended styles that are currently in use for a given list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Returns the handle to the header control.
; User CallTip: _GUICtrlListViewGetHeader($h_listview) Retrieves the handle to the header control used by the list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Returns an HCURSOR value that is the handle to the cursor that
; the list-view control uses when hot tracking is enabled.
; User CallTip: _GUICtrlListViewGetHotCursor($h_listview) Retrieves the HCURSOR value used when the pointer is over an item while hot tracking is enabled (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): A list-view control uses hot tracking and hover selection when
; Return Value(s): Returns the amount of time, in milliseconds,
; that the mouse cursor must hover over an item
; before it is selected.
; If the return value is -1, then the hover
; time is the default hover time.
; User CallTip: _GUICtrlListViewGetHoverTime($h_listview) Retrieves the amount of time that the mouse cursor must hover over an item before it is selected (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): The hover time only affects list-view controls that have the
; $i_Item - index of item to retrieve from (zero-based index)
; $i_SubItem - column of item to retrieve from (zero-based index)
; Requirement: None
; Return Value(s): If $i_SubItem = -1 then row is returned pipe delimited
; else text from $i_SubItem position is returned
; If error $LV_ERR is returned
; User CallTip: _GUICtrlListViewGetItemText($h_listview[, $i_Item=-1[, $i_SubItem=-1]]) Retrieves some or all of a list-view item (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_index - Index of the item to begin the search with
; $i_direction - Specifies the relationship to the item specified in $i_index
; Requirement: None
; Return Value(s): Returns the index of the next item if successful, or $LV_ERR otherwise.
; User CallTip: _GUICtrlListViewGetNextItem($h_GUI, $h_listview[, $i_index=-1[, $i_direction=0x0]]) Returns the index of the next item (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): If $i_index = -1 then find the first item that matches the specified $i_direction.
; The specified item itself is excluded from the search.
;
; $i_direction
; Searches by index.
; $LVNI_ALL
; Searches for a subsequent item by index, the default value.
; Searches by physical relationship to the index of the item where the search is to begin.
; $LVNI_ABOVE
; Searches for an item that is above the specified item.
; $LVNI_BELOW
; Searches for an item that is below the specified item.
; $LVNI_TOLEFT
; Searches for an item to the left of the specified item.
; $LVNI_TORIGHT
; Searches for an item to the right of the specified item.
; Return Value(s): Returns the number of selected items
; User CallTip: _GUICtrlListViewGetSelectedCount($h_listview) Determines the number of selected items in a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_ReturnType - Optional: return a string or array
; Requirement: None
; Return Value(s): If $i_ReturnType = 0 then Return pipe delimited string of indices of selected item(s)
; If $i_ReturnType = 1 then Return array of indices of selected item(s)
; If no items selected return $LV_ERR
; User CallTip: _GUICtrlListViewGetSelectedIndices($h_listview[, $i_ReturnType=0]) Retrieve indices of selected item(s) in a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Returns the index of the item if successful
; zero if the list-view control is in icon or small icon view.
; User CallTip: _GUICtrlListViewGetTopIndex($h_listview) Retrieves the index of the topmost visible item when in list or report view (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): If this value is nonzero, the control is using Unicode characters.
; If this value is zero, the control is using ANSI characters.
; User CallTip: _GUICtrlListViewGetUnicodeFormat($h_listview) Retrieves the UNICODE character format flag for the control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): The Unicode format flag is used by Microsoft Windows NT systems
; with version 4.71 of Comctl32.dll or later. This message is, thus,
; supported by Windows 2000 and later, and by Windows NT 4 with Microsoft
; Internet Explorer 4.0 or later. It is only useful on Windows 95 or Windows 98
; systems with version 5.80 or later of Comctl32.dll.
;
; This means that they must have Internet Explorer 5 or later installed.
; Windows 95 and Windows 98 systems with earlier versions of Internet Explorer
; ignore the Unicode format flag, and its value has no bearing on whether a control
; supports Unicode. With these systems, you will instead need to test something that
; $i_col - Zero based index of column position to insert
; $s_text - Header Text for column
; $i_justification - Optional: type of justification for column
; $i_width - Optional: width of the new column
; Requirement: None
; Return Value(s): Returns TRUE if successful, or FALSE otherwise
; if error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewInsertColumn($h_listview, $i_col, $s_text[, $i_justification=0[, $i_width=25]]) Inserts a column into a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_justification - Optional: type of justification for column
; Requirement: None
; Return Value(s): Returns TRUE if successful, or FALSE otherwise
; if error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewJustifyColumn($h_listview, $i_col[, $i_justification=0]) Set Justification of a column for a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_check - Optional: value to set checked state to (1 = checked, 0 = not checked)
; Requirement: None.
; Return Value(s): Returns TRUE if successful, or FALSE otherwise
; If error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewSetCheckState($h_listview, $i_index[, $i_check = 1]) Sets the checked state of a list-view control item (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Return Value(s): Returns TRUE if successful, or FALSE otherwise
; if error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewSetColumnHeaderText($h_listview, $i_col, $s_text) Change the text of a column header for a list-view control (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $s_order - "|" delimited column order .i.e "2|0|3|1"
; Requirement: None
; Return Value(s): Returns nonzero if successful, or zero otherwise.
; If an error occurs, the return value is $LV_ERR.
; User CallTip: _GUICtrlListViewSetColumnOrder($h_listview, $s_order) Sets the left-to-right order of columns in a list-view control. (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; $i_time - The new amount of time, in milliseconds
; Requirement: None
; Return Value(s): Returns the previous hover time
; User CallTip: _GUICtrlListViewSetHoverTime($h_listview, $i_time) Sets the amount of time which the mouse cursor must hover over an item before it is selected (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): $i_time
; If this value is -1, then the hover time is set to the default hover time
;
; The hover time only affects list-view controls that have the
; $i_items - Number of items that the list-view control will ultimately contain.
; Requirement: None
; Return Value(s): Returns nonzero if successful, or zero otherwise.
; User CallTip: _GuiCtrlListViewSetItemCount($h_listview, $i_items) Causes the list-view control to allocate memory for the specified number of items. (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)
; Note(s): Causes the control to allocate its internal data structures for the specified number of items.
; This prevents the control from having to allocate the data structures every time an item is added.
; $i_subitem - Index of the subitem, or it can be zero to set the item label.
; $s_text - String containing the new text
; Requirement: None
; Return Value(s): 1 if successful, 0 if not
; If error then $LV_ERR is returned
; User CallTip: _GUICtrlListViewSetItemText($h_listview, $i_index, $i_subitem, $s_text) Changes the text of a list-view item or subitem. (required: <GuiListView.au3>)
; Author(s): Gary Frost (custompcs at charter dot net)